package com.wlzg.collectiontool.viewmodel

import androidx.lifecycle.ViewModel
import androidx.lifecycle.viewModelScope
import com.wlzg.collectiontool.util.ExcelUtils
import kotlinx.coroutines.launch

class InfoViewModel :ViewModel(){
    fun importData()=viewModelScope.launch {
        ExcelUtils.instance.readExcelToDB()
    }

    fun exportData()=viewModelScope.launch {
//        ExcelUtils.instance.initExcel("test", emptyArray())
    }
}